package com.freecloud.tomcat.bio.servlet;

import com.freecloud.tomcat.bio.http.FreeRequest;
import com.freecloud.tomcat.bio.http.FreeResponse;
import com.freecloud.tomcat.bio.http.FreeServlet;

/**
 * @Author: maomao
 * @Date: 2021/8/30 10:11 上午
 */
public class TestServlet extends FreeServlet {
    @Override
    public void doGet(FreeRequest request, FreeResponse response) throws Exception {
        this.doPost(request, response);
    }

    @Override
    public void doPost(FreeRequest request, FreeResponse response) throws Exception {
        response.write("访问 TestServlet");
    }
}
